package com.lucy.nepu.module.taward.lib;

import com.lucy.common.core.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.RequiredArgsConstructor;
import lombok.Setter;
import lombok.ToString;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import java.io.Serializable;

@Getter
@Setter
@ToString
@RequiredArgsConstructor
@Entity
@Table(name = "nepu_taward_dict")
@ApiModel(value = "教学获奖词典")
public class TAwardDict extends BaseEntity implements Serializable {
    /**
     * 词典编码
     */
    @ApiModelProperty("词典编码")
    @Column(name = "code")
    String code;

    @ApiModelProperty("教学获奖名称")
    @Column(name = "award_name")
    String awardName;

    /**
     * 获奖
     */
    @ApiModelProperty(value = "教学获奖等级",name = "一等奖，二等奖，金奖，银奖等")
    @Column(name = "award_grade")
    String awardGrade;

    /**
     * 获奖级别
     */
    @ApiModelProperty(value = "教学获奖级别",notes = "A,B,C")
    @Column(name = "award_level")
    String awardLevel;

    /**
     * 获奖对应工作量
     */
    @ApiModelProperty(value = "工作量Min",notes = "教学获奖对应的最小工作量")
    @Column(name = "workload_min")
    Double workloadMin;
    @ApiModelProperty(value = "工作量Max",notes = "教学获奖对应的最大工作量")
    @Column(name = "workload_max",scale = 2)
    Double workloadMax;

    @ApiModelProperty(value = "教学获奖词典备注")
    @Column(name = "remark")
    String remark;
}
